package ch.fusun.baron.clientapp.login;

import org.eclipse.swt.widgets.Composite;

import ch.fusun.baron.core.command.GameCommand;
import ch.fusun.baron.core.rmi.User;

/**
 * Provides UI elements and commands to set properties of a new account
 */
public interface AccountProperty {

	/**
	 * @param parentArea
	 *            The parent area
	 */
	void createUi(Composite parentArea);

	/**
	 * @param user
	 *            The user
	 * @return The command associated with this property
	 */
	GameCommand getCommand(User user);

}
